.class public abstract Lcom/esfile/screen/recorder/picture/picker/data/BaseMediaLoader;
.super Landroidx/loader/content/CursorLoader;
.source "BaseMediaLoader.java"

# interfaces
.implements Lcom/esfile/screen/recorder/picture/picker/data/b;
.implements Lcom/esfile/screen/recorder/picture/picker/data/a;


# annotations
.annotation system Ldalvik/annotation/Signature;
    value = {
        "<R:",
        "Lcom/esfile/screen/recorder/picture/picker/entity/MediaItem;",
        ">",
        "Landroidx/loader/content/CursorLoader;",
        "Lcom/esfile/screen/recorder/picture/picker/data/b;",
        "Lcom/esfile/screen/recorder/picture/picker/data/a<",
        "TR;>;"
    }
.end annotation


# direct methods
.method public constructor <init>(Landroid/content/Context;)V
    .locals 0

    .line 1
    invoke-direct {p0, p1}, Landroidx/loader/content/CursorLoader;-><init>(Landroid/content/Context;)V

    return-void
.end method

.method private a(Lcom/esfile/screen/recorder/picture/picker/entity/MediaItem;)Ljava/lang/String;
    .locals 9
    .annotation build Landroidx/annotation/Nullable;
    .end annotation

    const-string v0, "album_art"

    .line 59
    invoke-virtual {p1}, Lcom/esfile/screen/recorder/picture/picker/entity/MediaItem;->e()Lcom/esfile/screen/recorder/picture/picker/entity/MediaItem$MediaType;

    move-result-object v1

    sget-object v2, Lcom/esfile/screen/recorder/picture/picker/entity/MediaItem$MediaType;->AUDIO:Lcom/esfile/screen/recorder/picture/picker/entity/MediaItem$MediaType;

    if-ne v1, v2, :cond_4

    instance-of v1, p1, Lcom/esfile/screen/recorder/picture/picker/data/AudioInfo;

    if-eqz v1, :cond_4

    const/4 v1, 0x0

    .line 60
    :try_start_0
    check-cast p1, Lcom/esfile/screen/recorder/picture/picker/data/AudioInfo;

    .line 61
    invoke-virtual {p1}, Lcom/esfile/screen/recorder/picture/picker/data/AudioInfo;->f()I

    move-result p1
    :try_end_0
    .catch Ljava/lang/ClassCastException; {:try_start_0 .. :try_end_0} :catch_0

    .line 62
    :try_start_1
    invoke-virtual {p0}, Landroidx/loader/content/Loader;->getContext()Landroid/content/Context;

    move-result-object v2

    invoke-virtual {v2}, Landroid/content/Context;->getContentResolver()Landroid/content/ContentResolver;

    move-result-object v3

    sget-object v4, Landroid/provider/MediaStore$Audio$Albums;->EXTERNAL_CONTENT_URI:Landroid/net/Uri;

    const/4 v2, 0x2

    new-array v5, v2, [Ljava/lang/String;

    const-string v2, "_id"

    const/4 v6, 0x0

    aput-object v2, v5, v6

    const/4 v2, 0x1

    aput-object v0, v5, v2

    const-string v7, "_id=?"

    new-array v2, v2, [Ljava/lang/String;

    .line 63
    invoke-static {p1}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object p1

    aput-object p1, v2, v6

    const/4 v8, 0x0

    move-object v6, v7

    move-object v7, v2

    .line 64
    invoke-virtual/range {v3 .. v8}, Landroid/content/ContentResolver;->query(Landroid/net/Uri;[Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;)Landroid/database/Cursor;

    move-result-object p1
    :try_end_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_1

    :try_start_2
    const-string v2, ""

    if-eqz p1, :cond_0

    .line 65
    :goto_0
    invoke-interface {p1}, Landroid/database/Cursor;->moveToNext()Z

    move-result v3

    if-eqz v3, :cond_0

    .line 66
    invoke-interface {p1, v0}, Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I

    move-result v2

    .line 67
    invoke-interface {p1, v2}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;

    move-result-object v2
    :try_end_2
    .catchall {:try_start_2 .. :try_end_2} :catchall_0

    goto :goto_0

    :cond_0
    if-eqz p1, :cond_1

    .line 68
    :try_start_3
    invoke-interface {p1}, Landroid/database/Cursor;->close()V

    :cond_1
    return-object v2

    :catchall_0
    move-exception v0

    goto :goto_1

    :catchall_1
    move-exception v0

    move-object p1, v1

    :goto_1
    if-eqz p1, :cond_2

    invoke-interface {p1}, Landroid/database/Cursor;->close()V

    .line 69
    :cond_2
    throw v0
    :try_end_3
    .catch Ljava/lang/ClassCastException; {:try_start_3 .. :try_end_3} :catch_0

    :catch_0
    move-exception p1

    .line 70
    sget-boolean v0, Les/u6;->a:Z

    if-eqz v0, :cond_3

    .line 71
    invoke-virtual {p1}, Ljava/lang/ClassCastException;->printStackTrace()V

    :cond_3
    return-object v1

    .line 72
    :cond_4
    invoke-virtual {p1}, Lcom/esfile/screen/recorder/picture/picker/entity/MediaItem;->c()Ljava/lang/String;

    move-result-object p1

    return-object p1
.end method


# virtual methods
.method protected a(Landroid/database/Cursor;Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
    .locals 2
    .param p1    # Landroid/database/Cursor;
        .annotation build Landroidx/annotation/NonNull;
        .end annotation
    .end param

    .line 73
    :try_start_0
    invoke-interface {p1, p2}, Landroid/database/Cursor;->getColumnIndexOrThrow(Ljava/lang/String;)I

    move-result p2

    .line 74
    invoke-interface {p1, p2}, Landroid/database/Cursor;->getType(I)I

    move-result v0

    const/4 v1, 0x1

    if-eq v0, v1, :cond_6

    const/4 v1, 0x2

    if-eq v0, v1, :cond_8

    const/4 v1, 0x3

    if-eq v0, v1, :cond_0

    const/4 v1, 0x4

    if-eq v0, v1, :cond_a

    goto/16 :goto_0

    .line 75
    :cond_0
    invoke-interface {p1, p2}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;

    move-result-object v0
    :try_end_0
    .catch Ljava/lang/IllegalArgumentException; {:try_start_0 .. :try_end_0} :catch_1

    .line 76
    :try_start_1
    instance-of v1, p3, Ljava/lang/String;

    if-eqz v1, :cond_1

    return-object v0

    .line 77
    :cond_1
    instance-of v1, p3, Ljava/lang/Long;

    if-eqz v1, :cond_2

    .line 78
    invoke-static {v0}, Ljava/lang/Long;->valueOf(Ljava/lang/String;)Ljava/lang/Long;

    move-result-object p1

    return-object p1

    .line 79
    :cond_2
    instance-of v1, p3, Ljava/lang/Integer;

    if-eqz v1, :cond_3

    .line 80
    invoke-static {v0}, Ljava/lang/Integer;->valueOf(Ljava/lang/String;)Ljava/lang/Integer;

    move-result-object p1

    return-object p1

    .line 81
    :cond_3
    instance-of v1, p3, Ljava/lang/Double;

    if-eqz v1, :cond_4

    .line 82
    invoke-static {v0}, Ljava/lang/Double;->valueOf(Ljava/lang/String;)Ljava/lang/Double;

    move-result-object p1

    return-object p1

    .line 83
    :cond_4
    instance-of v1, p3, Ljava/lang/Float;

    if-eqz v1, :cond_6

    .line 84
    invoke-static {v0}, Ljava/lang/Float;->valueOf(Ljava/lang/String;)Ljava/lang/Float;

    move-result-object p1
    :try_end_1
    .catch Ljava/lang/NumberFormatException; {:try_start_1 .. :try_end_1} :catch_0
    .catch Ljava/lang/IllegalArgumentException; {:try_start_1 .. :try_end_1} :catch_1

    return-object p1

    :catch_0
    move-exception p1

    .line 85
    :try_start_2
    sget-boolean p2, Les/u6;->a:Z

    if-eqz p2, :cond_5

    .line 86
    invoke-virtual {p1}, Ljava/lang/NumberFormatException;->printStackTrace()V

    :cond_5
    return-object p3

    .line 87
    :cond_6
    instance-of v0, p3, Ljava/lang/Long;

    if-eqz v0, :cond_7

    .line 88
    invoke-interface {p1, p2}, Landroid/database/Cursor;->getLong(I)J

    move-result-wide p1

    invoke-static {p1, p2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object p1

    return-object p1

    .line 89
    :cond_7
    instance-of v0, p3, Ljava/lang/Integer;

    if-eqz v0, :cond_8

    .line 90
    invoke-interface {p1, p2}, Landroid/database/Cursor;->getInt(I)I

    move-result p1

    invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object p1

    return-object p1

    .line 91
    :cond_8
    instance-of v0, p3, Ljava/lang/Float;

    if-eqz v0, :cond_9

    .line 92
    invoke-interface {p1, p2}, Landroid/database/Cursor;->getFloat(I)F

    move-result p1

    invoke-static {p1}, Ljava/lang/Float;->valueOf(F)Ljava/lang/Float;

    move-result-object p1

    return-object p1

    .line 93
    :cond_9
    instance-of v0, p3, Ljava/lang/Double;

    if-eqz v0, :cond_a

    .line 94
    invoke-interface {p1, p2}, Landroid/database/Cursor;->getDouble(I)D

    move-result-wide p1

    invoke-static {p1, p2}, Ljava/lang/Double;->valueOf(D)Ljava/lang/Double;

    move-result-object p1

    return-object p1

    .line 95
    :cond_a
    instance-of v0, p3, Ljava/sql/Blob;

    if-eqz v0, :cond_b

    .line 96
    invoke-interface {p1, p2}, Landroid/database/Cursor;->getBlob(I)[B

    move-result-object p1
    :try_end_2
    .catch Ljava/lang/IllegalArgumentException; {:try_start_2 .. :try_end_2} :catch_1

    return-object p1

    :cond_b
    :goto_0
    return-object p3

    :catch_1
    move-exception p1

    .line 97
    sget-boolean p2, Les/u6;->a:Z

    if-eqz p2, :cond_c

    .line 98
    invoke-virtual {p1}, Ljava/lang/IllegalArgumentException;->printStackTrace()V

    :cond_c
    return-object p3
.end method

.method public a(Landroid/database/Cursor;Les/za$b;)V
    .locals 13

    .line 1
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    if-eqz p1, :cond_8

    .line 2
    invoke-interface {p1}, Landroid/database/Cursor;->getCount()I

    move-result v1

    if-lez v1, :cond_8

    .line 3
    new-instance v1, Lcom/esfile/screen/recorder/picture/picker/entity/a;

    invoke-direct {v1}, Lcom/esfile/screen/recorder/picture/picker/entity/a;-><init>()V

    .line 4
    invoke-virtual {p0}, Landroidx/loader/content/Loader;->getId()I

    move-result v2

    invoke-interface {p0, v2}, Lcom/esfile/screen/recorder/picture/picker/data/a;->a(I)Z

    move-result v2

    if-eqz v2, :cond_0

    .line 5
    invoke-interface {p0}, Lcom/esfile/screen/recorder/picture/picker/data/a;->g()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Lcom/esfile/screen/recorder/picture/picker/entity/b;->c(Ljava/lang/String;)V

    const-string v2, "ALL"

    .line 6
    invoke-virtual {v1, v2}, Lcom/esfile/screen/recorder/picture/picker/entity/b;->b(Ljava/lang/String;)V

    :cond_0
    const/4 v2, -0x1

    .line 7
    invoke-interface {p1, v2}, Landroid/database/Cursor;->moveToPosition(I)Z

    .line 8
    :cond_1
    :goto_0
    invoke-interface {p1}, Landroid/database/Cursor;->moveToNext()Z

    move-result v2

    const/4 v3, 0x0

    if-eqz v2, :cond_6

    :try_start_0
    const-string v2, "_data"

    .line 9
    invoke-interface {p1, v2}, Landroid/database/Cursor;->getColumnIndexOrThrow(Ljava/lang/String;)I

    move-result v2

    invoke-interface {p1, v2}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;

    move-result-object v2

    .line 10
    new-instance v4, Ljava/io/File;

    invoke-direct {v4, v2}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    .line 11
    invoke-static {v2}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v5

    if-nez v5, :cond_1

    invoke-virtual {v4}, Ljava/io/File;->exists()Z

    move-result v4

    if-eqz v4, :cond_1

    const-string v4, "_id"

    .line 12
    invoke-static {v3}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v3

    invoke-virtual {p0, p1, v4, v3}, Lcom/esfile/screen/recorder/picture/picker/data/BaseMediaLoader;->a(Landroid/database/Cursor;Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Ljava/lang/Integer;

    invoke-virtual {v3}, Ljava/lang/Integer;->intValue()I

    move-result v3

    const-string v4, "date_added"

    const-wide/16 v5, 0x0

    .line 13
    invoke-static {v5, v6}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object v7

    invoke-virtual {p0, p1, v4, v7}, Lcom/esfile/screen/recorder/picture/picker/data/BaseMediaLoader;->a(Landroid/database/Cursor;Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Ljava/lang/Long;

    invoke-virtual {v4}, Ljava/lang/Long;->longValue()J

    move-result-wide v7

    const-string v4, "_size"

    .line 14
    invoke-static {v5, v6}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object v5

    invoke-virtual {p0, p1, v4, v5}, Lcom/esfile/screen/recorder/picture/picker/data/BaseMediaLoader;->a(Landroid/database/Cursor;Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Ljava/lang/Long;

    invoke-virtual {v4}, Ljava/lang/Long;->longValue()J

    move-result-wide v4

    const-string v6, "mime_type"

    const-string v9, ""

    .line 15
    invoke-virtual {p0, p1, v6, v9}, Lcom/esfile/screen/recorder/picture/picker/data/BaseMediaLoader;->a(Landroid/database/Cursor;Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v6

    check-cast v6, Ljava/lang/String;

    .line 16
    invoke-interface {p0, v2, v6}, Lcom/esfile/screen/recorder/picture/picker/data/a;->a(Ljava/lang/String;Ljava/lang/String;)Lcom/esfile/screen/recorder/picture/picker/entity/MediaItem$MediaType;

    move-result-object v6

    .line 17
    sget-object v9, Lcom/esfile/screen/recorder/picture/picker/entity/MediaItem$MediaType;->INVALID:Lcom/esfile/screen/recorder/picture/picker/entity/MediaItem$MediaType;

    if-ne v6, v9, :cond_2

    goto :goto_0

    .line 18
    :cond_2
    invoke-interface {p0, p1}, Lcom/esfile/screen/recorder/picture/picker/data/a;->b(Landroid/database/Cursor;)Landroidx/core/util/Pair;

    move-result-object v9

    if-eqz v9, :cond_1

    if-eqz v9, :cond_3

    .line 19
    iget-object v10, v9, Landroidx/core/util/Pair;->second:Ljava/lang/Object;

    check-cast v10, Ljava/lang/CharSequence;

    .line 20
    invoke-static {v10}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v10
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    if-eqz v10, :cond_3

    goto :goto_0

    :cond_3
    const/4 v10, 0x4

    .line 21
    new-instance v11, Lcom/esfile/screen/recorder/picture/picker/entity/b;

    invoke-direct {v11}, Lcom/esfile/screen/recorder/picture/picker/entity/b;-><init>()V

    .line 22
    iget-object v12, v9, Landroidx/core/util/Pair;->first:Ljava/lang/Object;

    check-cast v12, Ljava/lang/String;

    invoke-virtual {v11, v12}, Lcom/esfile/screen/recorder/picture/picker/entity/b;->b(Ljava/lang/String;)V

    .line 23
    iget-object v12, v9, Landroidx/core/util/Pair;->second:Ljava/lang/Object;

    check-cast v12, Ljava/lang/String;

    invoke-virtual {v11, v12}, Lcom/esfile/screen/recorder/picture/picker/entity/b;->c(Ljava/lang/String;)V

    .line 24
    invoke-virtual {p0}, Landroidx/loader/content/Loader;->getId()I

    move-result v12

    invoke-interface {p0, v12}, Lcom/esfile/screen/recorder/picture/picker/data/a;->a(I)Z

    move-result v12

    if-eqz v12, :cond_4

    invoke-interface {p0}, Lcom/esfile/screen/recorder/picture/picker/data/a;->b()Z

    move-result v12

    if-eqz v12, :cond_4

    .line 25
    iget-object v9, v9, Landroidx/core/util/Pair;->second:Ljava/lang/Object;

    check-cast v9, Ljava/lang/String;

    invoke-interface {p0, v9}, Lcom/esfile/screen/recorder/picture/picker/data/a;->a(Ljava/lang/String;)I

    move-result v10

    .line 26
    :cond_4
    new-instance v9, Lcom/esfile/screen/recorder/picture/picker/entity/MediaItem;

    invoke-direct {v9}, Lcom/esfile/screen/recorder/picture/picker/entity/MediaItem;-><init>()V

    .line 27
    invoke-virtual {v9, v3}, Lcom/esfile/screen/recorder/picture/picker/entity/MediaItem;->a(I)V

    .line 28
    invoke-virtual {v9, v2}, Lcom/esfile/screen/recorder/picture/picker/entity/MediaItem;->a(Ljava/lang/String;)V

    .line 29
    invoke-virtual {v9, v6}, Lcom/esfile/screen/recorder/picture/picker/entity/MediaItem;->a(Lcom/esfile/screen/recorder/picture/picker/entity/MediaItem$MediaType;)V

    .line 30
    invoke-virtual {v9, v10}, Lcom/esfile/screen/recorder/picture/picker/entity/MediaItem;->b(I)V

    .line 31
    invoke-virtual {v9, v7, v8}, Lcom/esfile/screen/recorder/picture/picker/entity/MediaItem;->a(J)V

    .line 32
    invoke-virtual {v9, v4, v5}, Lcom/esfile/screen/recorder/picture/picker/entity/MediaItem;->b(J)V

    .line 33
    invoke-interface {p0, v9, p1}, Lcom/esfile/screen/recorder/picture/picker/data/a;->a(Lcom/esfile/screen/recorder/picture/picker/entity/MediaItem;Landroid/database/Cursor;)Lcom/esfile/screen/recorder/picture/picker/entity/MediaItem;

    move-result-object v2

    .line 34
    invoke-interface {v0, v11}, Ljava/util/List;->contains(Ljava/lang/Object;)Z

    move-result v3

    if-nez v3, :cond_5

    .line 35
    invoke-direct {p0, v2}, Lcom/esfile/screen/recorder/picture/picker/data/BaseMediaLoader;->a(Lcom/esfile/screen/recorder/picture/picker/entity/MediaItem;)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v11, v3}, Lcom/esfile/screen/recorder/picture/picker/entity/b;->a(Ljava/lang/String;)V

    .line 36
    invoke-virtual {v11, v2}, Lcom/esfile/screen/recorder/picture/picker/entity/b;->a(Lcom/esfile/screen/recorder/picture/picker/entity/MediaItem;)V

    .line 37
    invoke-virtual {v2}, Lcom/esfile/screen/recorder/picture/picker/entity/MediaItem;->a()J

    move-result-wide v3

    invoke-virtual {v11, v3, v4}, Lcom/esfile/screen/recorder/picture/picker/entity/b;->a(J)V

    .line 38
    invoke-virtual {v2}, Lcom/esfile/screen/recorder/picture/picker/entity/MediaItem;->getPriority()I

    move-result v3

    invoke-virtual {v11, v3}, Lcom/esfile/screen/recorder/picture/picker/entity/b;->a(I)V

    .line 39
    invoke-interface {v0, v11}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    goto :goto_1

    .line 40
    :cond_5
    invoke-interface {v0, v11}, Ljava/util/List;->indexOf(Ljava/lang/Object;)I

    move-result v3

    invoke-interface {v0, v3}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Lcom/esfile/screen/recorder/picture/picker/entity/b;

    .line 41
    invoke-virtual {v3, v2}, Lcom/esfile/screen/recorder/picture/picker/entity/b;->a(Lcom/esfile/screen/recorder/picture/picker/entity/MediaItem;)V

    .line 42
    :goto_1
    invoke-virtual {p0}, Landroidx/loader/content/Loader;->getId()I

    move-result v3

    invoke-interface {p0, v3}, Lcom/esfile/screen/recorder/picture/picker/data/a;->a(I)Z

    move-result v3

    if-eqz v3, :cond_1

    .line 43
    invoke-virtual {v1, v2}, Lcom/esfile/screen/recorder/picture/picker/entity/a;->a(Ljava/lang/Object;)V

    goto/16 :goto_0

    :catch_0
    move-exception v2

    .line 44
    sget-boolean v3, Les/u6;->a:Z

    if-eqz v3, :cond_1

    .line 45
    invoke-virtual {v2}, Ljava/lang/Exception;->printStackTrace()V

    goto/16 :goto_0

    .line 46
    :cond_6
    invoke-virtual {p0}, Landroidx/loader/content/Loader;->getId()I

    move-result p1

    invoke-interface {p0, p1}, Lcom/esfile/screen/recorder/picture/picker/data/a;->a(I)Z

    move-result p1

    if-eqz p1, :cond_7

    .line 47
    invoke-virtual {v1}, Lcom/esfile/screen/recorder/picture/picker/entity/b;->c()Ljava/util/List;

    move-result-object p1

    invoke-interface {p1}, Ljava/util/List;->size()I

    move-result p1

    if-lez p1, :cond_7

    .line 48
    invoke-virtual {p0, v1}, Lcom/esfile/screen/recorder/picture/picker/data/BaseMediaLoader;->a(Lcom/esfile/screen/recorder/picture/picker/entity/a;)V

    .line 49
    invoke-virtual {v1}, Lcom/esfile/screen/recorder/picture/picker/entity/b;->c()Ljava/util/List;

    move-result-object p1

    invoke-interface {p1, v3}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Lcom/esfile/screen/recorder/picture/picker/entity/MediaItem;

    .line 50
    invoke-direct {p0, p1}, Lcom/esfile/screen/recorder/picture/picker/data/BaseMediaLoader;->a(Lcom/esfile/screen/recorder/picture/picker/entity/MediaItem;)Ljava/lang/String;

    move-result-object p1

    invoke-virtual {v1, p1}, Lcom/esfile/screen/recorder/picture/picker/entity/b;->a(Ljava/lang/String;)V

    .line 51
    invoke-interface {v0, v3, v1}, Ljava/util/List;->add(ILjava/lang/Object;)V

    :cond_7
    if-eqz p2, :cond_a

    .line 52
    new-instance p1, Les/bb;

    invoke-direct {p1}, Les/bb;-><init>()V

    invoke-static {v0, p1}, Ljava/util/Collections;->sort(Ljava/util/List;Ljava/util/Comparator;)V

    .line 53
    invoke-interface {p2, v0}, Les/za$b;->a(Ljava/util/List;)V

    goto :goto_2

    .line 54
    :cond_8
    invoke-static {}, Les/qc$f;->b()Ljava/util/List;

    move-result-object p1

    .line 55
    invoke-interface {p1}, Ljava/util/List;->isEmpty()Z

    move-result p1

    if-eqz p1, :cond_9

    if-eqz p2, :cond_a

    .line 56
    invoke-interface {p2, v0}, Les/za$b;->a(Ljava/util/List;)V

    goto :goto_2

    .line 57
    :cond_9
    invoke-virtual {p0}, Landroidx/loader/content/Loader;->getContext()Landroid/content/Context;

    move-result-object p1

    invoke-static {p1}, Lcom/esfile/screen/recorder/utils/i;->b(Landroid/content/Context;)V

    :cond_a
    :goto_2
    return-void
.end method

.method public a(Lcom/esfile/screen/recorder/picture/picker/entity/a;)V
    .locals 0
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lcom/esfile/screen/recorder/picture/picker/entity/a<",
            "TR;>;)V"
        }
    .end annotation

    .line 58
    invoke-virtual {p1}, Lcom/esfile/screen/recorder/picture/picker/entity/a;->e()V

    return-void
.end method

.method public j()V
    .locals 1

    .line 1
    invoke-interface {p0}, Lcom/esfile/screen/recorder/picture/picker/data/b;->e()Landroid/net/Uri;

    move-result-object v0

    invoke-virtual {p0, v0}, Landroidx/loader/content/CursorLoader;->setUri(Landroid/net/Uri;)V

    .line 2
    invoke-interface {p0}, Lcom/esfile/screen/recorder/picture/picker/data/b;->a()[Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p0, v0}, Landroidx/loader/content/CursorLoader;->setProjection([Ljava/lang/String;)V

    .line 3
    invoke-interface {p0}, Lcom/esfile/screen/recorder/picture/picker/data/b;->h()[Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p0, v0}, Landroidx/loader/content/CursorLoader;->setSelectionArgs([Ljava/lang/String;)V

    .line 4
    invoke-interface {p0}, Lcom/esfile/screen/recorder/picture/picker/data/b;->c()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p0, v0}, Landroidx/loader/content/CursorLoader;->setSelection(Ljava/lang/String;)V

    .line 5
    invoke-interface {p0}, Lcom/esfile/screen/recorder/picture/picker/data/b;->d()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p0, v0}, Landroidx/loader/content/CursorLoader;->setSortOrder(Ljava/lang/String;)V

    return-void
.end method
